package com.realtyManage.springboot.Dao;

import com.realtyManage.springboot.Model.Do.PanicBuy;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;

public interface PanicBuyRepository extends JpaRepository<PanicBuy,Integer> {

    @Modifying
    @Query(value = "UPDATE  special_offer_house SET is_show = 1 WHERE id = ?1 ",nativeQuery=true)
    public int updateIsShow(Integer hid);

}
